#include "globalvar.h"


GlobalVar::GlobalVar(QObject *parent) : QObject(parent)
  ,m_permission(-1)
{

}


GlobalVar *GlobalVar::m_globalVar = NULL;
GlobalVar *GlobalVar::getobj()
{
    if (m_globalVar == NULL) {
        m_globalVar = new GlobalVar();
    }
    return m_globalVar;
}

void GlobalVar::updateGlobalVar()
{
//    GlobalVar::machineWorkPatten =;
}
